<include file="../Public/header.html" />
<link href="__PUBLIC__/Css/user.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/Css/productList.css" rel="stylesheet" type="text/css" />
<script>
    //鼠标移动表格效果
    $(document).ready(function(){
    });

    function goPage(pno){
    	k_page_redirect("{:U('Index://Index/space',array('suid'=>$friend['id'],'pno'=>''))}"+pno);
 	}

</script>
<div id="mainWrapper">

	<div id="main">
		<php>
			$TOP_NAV_BOX_PARAM[]=array('url'=>U('User://Index/index'),'desc'=>'用户中心');
			$TOP_NAV_BOX_PARAM[]=array('desc'=>$friend['uname']);
		</php>
		<include file="../Public/top_nav_box.html" />
	
		<div id="left_box" style="border: 0px solid #E2E2E2;">  
		
		
			<div style="border: 0px solid #E2E2E2;"> 
				<div style="margin:0px;background: url('/Public/Images/global/user_03.jpg') no-repeat scroll left top transparent;">
					<div style="height: 55px;width: 100%;">
						<a style="width: 50px;float:left;" href="#">
					    	<img width="34px" height="34px" style="padding:0px;margin:9px 0 10px 15px;border: 1px solid rgb(128, 152, 168); " 
					       		src="{$friend['id']|getUserFace='m'}">
					 	</a>
					</div>
				</div>  
				<div style="background: none repeat scroll 0 0 #F8F8F8; border-left: 1px solid #E8E8E8; border-right: 1px solid #E8E8E8;">
					<ul class="left_ul">
					  <li class="left_ul_on"><a href="/User/index.php/Index/index"><a href="#">欢迎来到 {$friend['uname']}
					  		</a>
					  		<php>if('sina'==$friend['sync_type']){</php>
								<img src="/Public/Images/global/sina24x24.png" style="width:16px" align="absmiddle" title="新浪微博直接登录">
							<php>}</php>
							<php>if('douban'==$friend['sync_type']){</php>
								<img src="/Public/Images/global/douban24x24.png" style="width:16px" align="absmiddle" title="豆瓣直接登录">
							<php>}</php></li>
					</ul>
				
					<php>if($friend['is_open']=='Y'){</php>
					<ul class="left_ul">
					  <li>姓名：<span id="">{$friend['realname']}</span></li>
					  <li>性别：<span id=""><eq name="friend.gender" value="M">男</eq><eq name="friend.gender" value="F">女</eq></span></li>
					  <li>生日：<span id="">{:paramMillisecond2Date($friend['btime'],'Y 年 m 月 d 日','')}</span></li>
					  <li>城市：<span id="">{:getAreaDesc($friend['province_id'],$friend['city_id'],$friend['area_id'])}</span></li>
					  <li>地址：<span id="">{$friend['address']}</span></li>
					</ul>
					<php>}else{</php>
					<ul class="left_ul">
					  <li>&nbsp;</li>
					  <li>&nbsp;</li>
					  <li style="font-weight:bold;color:red;text-align:center;"><font >用户个人信息未公开</li>
					  <li>&nbsp;</li>
					  <li>&nbsp;</li>
					</ul>
					<php>}</php>
					<div class="clear"></div>
				</div>
				<div style="
					    background: url('/Public/Images/global/userbot.jpg') no-repeat scroll 0 0 transparent;
					    height: 8px;
					    overflow: hidden;
					    width: 180px;"></div>
			</div>
		
			<div class="clear" style="margin-bottom:15px"></div>
				<div><!-- 宽度这里控制 -->
			    	<iframe width="180" height="400" class="share_self"  frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?width=180&height=400&fansRow=1&ptype=1&speed=0&skin=4&isTitle=1&noborder=1&isWeibo=1&isFans=1&uid=1937126950&verifier=5382a6e2"></iframe>
				</div>
		</div>


  		<div id="right_box">
  			<div class="item_top">
  				<span style="float:right;font-weight:bold">
					共：&nbsp;
					<font style="color:red;font-size:16px;font-style: italic;" id="total_no">{$collectpage['totalRows']}</font>
					&nbsp;件&nbsp;&nbsp;
				</span>
				<ul>
					<li class="top_bar top-bar-wide top_baron"><eq name="friend.gender" value="M">他</eq><eq name="friend.gender" value="F">她</eq>想要的</li>
				</ul>
			</div>
  			<div id="ajx_show_area">
			  	<script>
				$(document).ready(function(){
					k_initcollectionbtn();
				});
				</script>	
				<php>
				
				if(empty($collectpage)||empty($collectpage['data'])){
				</php>
					<div style="width:100%;text-align:center;margin-top:15px;">
						<php>$alert_message="无想要的礼物！";</php>
						<include file="../Public/alert_box.html" />
					</div>
				
				<php>}else{</php>	
				
								<!--第一行商品，共四个-->
								<div class="list_line"  style="margin-top:10px;margin-left:10px;border:0px">
								    <php>$index = -1;</php>
								    <volist id="cvo" name="collectpage['data']">
								    	<php>
								    	$index = $index+1;
								    	$vo = $collectpage['extData'][$cvo['shelf_id']];
								    	</php>
								    	<php>if($index%4==0){</php>
								    		<div id="clear"></div>
								    	</div>
								    	<div class="list_line" style="margin-top:10px;margin-left:10px;">
								    	<php>}</php>
								    	
								      	<include file="../Product/Tpl/default/Public/product_brief_detail_box.html" />
								      	
								   	</volist>
									<div id="clear"></div>
								</div>
								    
								<div class="page_box">{$collectpage['html']}</div>
				
				<php>}</php>			  
			</div>
			<div id="clear"></div>
	</div>
</div>

<include file="../Public/footer.html" />